package cn.kgc.hotel.entity;

import lombok.Getter;
import lombok.Setter;
import org.apache.ibatis.type.Alias;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.sql.Date;

@Component
@Setter
@Getter
@Alias("RoomDate")
//房间日期状态实体类-暂时保留，房间状态加到房间实体类中
public class RoomDate {
    //房间ID
    private Integer roomId;
    //日期
    /*@DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;*/
    private String date;
    //房间状态
    private Integer stateId;
}
